class MapBean {
  Map _source;

  MapBean([Map map = const {}]) {
    _source = map;
  }

  dynamic operator [](String key) {
    return _source[key];
  }

  void operator []=(String key, value) {
    _source[key] = value;
  }

  Map get source => _source;

  @override
  String toString() {
    return '$_source';
  }
}
